home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / a_man / cat7 / dns.z / dns
Encoding:
Text File  |  2001-04-17  |  8.1 KB  |  133 lines

  1.  
  2.  
  3.  
  4. DDDDNNNNSSSS((((7777PPPP))))                                                                DDDDNNNNSSSS((((7777PPPP))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      dns - Domain Name Service
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      /var/ns/lib/libns_dns.so
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      The Domain Name System (DNS) is an Internet standard name service for
  16.      hostname to address translation.  Queries are made from a client library
  17.      (termed the rrrreeeessssoooollllvvvveeeerrrr((((4444))))) to a server daemon nnnnaaaammmmeeeedddd((((1111MMMM)))).  The daemon
  18.      nnnnssssdddd((((1111MMMM)))) will make these calls and present the data in a filesystem
  19.      namespace when the ddddnnnnssss keyword exists in the nnnnsssssssswwwwiiiittttcccchhhh....ccccoooonnnnffff configuration
  20.      file for a domain.  This man page documents the behavior of the DNS
  21.      extension to the nsd daemon.
  22.  
  23.      The nsd daemon reads all of the nsswitch.conf configuration files, first
  24.      ////eeeettttcccc////nnnnsssssssswwwwiiiittttcccchhhh....ccccoooonnnnffff for the default domain, then files
  25.      ////vvvvaaaarrrr////nnnnssss////ddddoooommmmaaaaiiiinnnnssss////DDDDOOOOMMMMAAAAIIIINNNN////nnnnsssssssswwwwiiiittttcccchhhh....ccccoooonnnnffff for each DOMAIN the local host acts
  26.      as a server for.  As it reads these files if it encounters the keyword
  27.      ddddnnnnssss for some map then it will open the DNS library
  28.      ////vvvvaaaarrrr////nnnnssss////lllliiiibbbb////lllliiiibbbbnnnnssss____ddddnnnnssss....ssssoooo.  On first open the library initialization
  29.      routine will parse the resolver configuration file ////eeeettttcccc////rrrreeeessssoooollllvvvv....ccccoooonnnnffff to
  30.      determine the addresses of nameservers and the domain names to use for
  31.      queries.
  32.  
  33.      Extended attributes in the nnnnsssssssswwwwiiiittttcccchhhh....ccccoooonnnnffff file can be used to control the
  34.      behavior of the DNS resolver.  Extended attributes are simply lists of
  35.      key/value pairs attached to each object in the nsd filesystem.  The
  36.      attributes supported in this library are:
  37.  
  38.      ddddoooommmmaaaaiiiinnnn
  39.           This is the domainname given as a parameter to the remote name
  40.           server.  This attribute is typically inherited from the daemon
  41.           depending on the nsswitch.conf file that is being read.  Given the
  42.           configuration file ////vvvvaaaarrrr////nnnnssss////ddddoooommmmaaaaiiiinnnnssss////DDDDOOOOMMMMAAAAIIIINNNNNNNNAAAAMMMMEEEE////nnnnsssssssswwwwiiiittttcccchhhh....ccccoooonnnnffff the
  43.           attribute "domain" is set to DOMAINNAME.  For the default domain,
  44.           represented by the file ////eeeettttcccc////nnnnsssssssswwwwiiiittttcccchhhh....ccccoooonnnnffff, the domain is unset and
  45.           the DNS library uses the search path given in the rrrreeeessssoooollllvvvveeeerrrr((((4444))))
  46.           configuration file.  If the resolv.conf file is changed then the
  47.           change will be reflected in the next lookup.
  48.  
  49.      ttttaaaabbbblllleeee
  50.           The ttttaaaabbbblllleeee attribute is typically inherited from the daemon based on
  51.           the line from which this entry occurs in the nsswitch.conf file.
  52.           This implementation of the DNS resolver recognizes only two tables:
  53.           hhhhoooossssttttssss....bbbbyyyynnnnaaaammmmeeee which is translated into a type A request, hhhhoooossssttttssss....bbbbyyyyaaaaddddddddrrrr
  54.           which is translated into a type PTR request.
  55.  
  56.      kkkkeeeeyyyy  The kkkkeeeeyyyy attribute is set by the daemon on each request.  If the
  57.           address is fully qualified (ends in a '.') then it is forwarded on
  58.           to the remote name server as is.  Else, it will have each element of
  59.           the search path appended and looked up.  If the key contains a
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DDDDNNNNSSSS((((7777PPPP))))                                                                DDDDNNNNSSSS((((7777PPPP))))
  71.  
  72.  
  73.  
  74.           sufficient number of dots (as defined by in resolv.conf as "option
  75.           ndots") then it will first be attempted as is.
  76.  
  77.      ddddnnnnssss____mmmmaaaaxxxx____ttttttttllll
  78.           The ddddnnnnssss____mmmmaaaaxxxx____ttttttttllll attribute specifies that nsd should use the DNS TTL
  79.           value for the nsd cache timeout.  Because DNS TTL values can be
  80.           quite large a maximum value in seconds can be specified.  Default is
  81.           zero.  ddddnnnnssss____sssseeeerrrrvvvveeeerrrrssss The ddddnnnnssss____sssseeeerrrrvvvveeeerrrrssss attribute is a space separated
  82.           list of IP addresses of DNS servers.  If this is not set then the
  83.           nameservers listed in the /etc/resolv.conf file are used.
  84.  
  85.      ddddnnnnssss____sssseeeeaaaarrrrcccchhhh
  86.           The ddddnnnnssss____sssseeeeaaaarrrrcccchhhh attribute is used to override the default domain
  87.           search path built from /etc/resolv.conf.
  88.  
  89.      ddddnnnnssss____ppppaaaarrrraaaalllllllleeeellll
  90.           The ddddnnnnssss____ppppaaaarrrraaaalllllllleeeellll attribute is a boolean which specifies use of a
  91.           performance optimization where queries will be made to all defined
  92.           name servers in parallel.  This is only beneficial if each of the
  93.           name servers is equally able to answer the request. By default this
  94.           is 0.
  95.  
  96.      ddddnnnnssss____rrrreeeettttrrrriiiieeeessss
  97.           The ddddnnnnssss____rrrreeeettttrrrriiiieeeessss attribute specifies the number of queries that we
  98.           will make to each server.  Each server is tried in turn in a round-
  99.           robin basis until the number of retries is exhausted.  This should
  100.           be set to an integer value, and defaults to 3.
  101.  
  102.      ddddnnnnssss____ttttiiiimmmmeeeeoooouuuutttt
  103.           The ddddnnnnssss____ttttiiiimmmmeeeeoooouuuutttt attribute is the number of milliseconds the library
  104.           code will wait for a response from a name server before continuing
  105.           to the next name server.  The default is 2000.
  106.  
  107. NNNNOOOOTTTTEEEE
  108.      If there is no rrrreeeessssoooollllvvvv....ccccoooonnnnffff file on a system nsd will NNNNOOOOTTTT use a default
  109.      nameserver of localhost unless nnnnaaaammmmeeeedddd has been enabled via cccchhhhkkkkccccoooonnnnffffiiiigggg.
  110.  
  111. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  112.      chkconfig(1M), named(1M), nsd(1M), nsswitch.conf(4), resolver(4), db(7P),
  113.      dns(7P), files(7P), ldap(7P), mdbm(7P), ndbm(7P), nis(7P), nisserv(7P).
  114.      IIIIRRRRIIIIXXXX AAAAddddmmmmiiiinnnn:::: NNNNeeeettttwwwwoooorrrrkkkkiiiinnnngggg aaaannnndddd MMMMaaaaiiiillll
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.